package com.szxy.utils;

import java.io.Serializable;
import java.util.List;

/**
 * 封装分页结果
 * @Auther:zwer
 * @Date:2019/9/7 14:13
 * @Description:com.szxy.utils
 * @Version:1.0
 **/
public class PageResult implements Serializable {
    private Integer pageIndex; //当前页
    private Integer totalPage; //总页数
    private List result;  //分页数据

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public List getResult() {
        return result;
    }

    public void setResult(List result) {
        this.result = result;
    }
}
